package com.lhhu.demo.mapper;

import com.lhhu.demo.bean.HandlersMessage;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @Auther 虎
 * @Data 2021/3/7 17:56
 * @Version 1.0
 */
@Repository
public interface HandlersMapper {
    HandlersMessage getOneHandlersMessage(String username);
    HandlersMessage getOneHandlersMessageByCodes(String codes);
    String getPasswordByCodes(String codes);
    int updateHandlerPassword(@Param("codes") String codes, @Param("passwords") String passwords);
    int updateHandlerCodes(@Param("username")String username,@Param("codes")String codes);
}
